home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / DJBSN116.ARJ / YYLEX.C < prev   
C/C++ Source or Header  |  1991-03-10  |  135b  |  11 lines

  1. #include <stdio.h>
  2. extern int yylval;
  3.  
  4. yylex()
  5. {
  6.   yylval = getchar();
  7.   if (yylval == EOF)
  8.     return 0;
  9.   return yylval;
  10. }
  11.